package com.pda.gongpin.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.pda.gongpin.R;
import com.pda.gongpin.bean.ProductModelBean;
import com.wangshen.base.ui.mvp.base.adapter.BaseAdapter;


import java.util.List;

public class SelectChildrenAdapter extends BaseAdapter<ProductModelBean> {
    public SelectChildrenAdapter(int layoutResId, @Nullable List<ProductModelBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, ProductModelBean item) {
        super.convert(helper, item);
        helper.setText(R.id.tv_title,item.getLabel());
    }
}
